<template>
  <div class="downloadApp">
    <div class="login-head">
      <span style="color: #fff" @click="jumpFn()">
        <van-icon name="arrow-left"
      /></span>
      <span class="login-title">推荐有奖</span>
      <span></span>
    </div>
    <div class="bottom-elm">
      <img
        src=""
        alt=""
      />
      <p>下载饿了么app</p>
      <br /><van-button type="primary" @click="tixin()">下载</van-button>
    </div>
  </div>
</template>

<script>
export default {
  name: "elmApp",
  data() {
    return {};
  },
  mounted() {},
  methods: {
    tixin() {
      $(".img-btn").attr("id", "tip");
      new TipBox({ type: "tip", str: "IOS用户请在AppStore中下载!", hasBtn: true });
    },
    jumpFn(){
        this.$router.push({
            name:"daijinjuan"
        })
    }
  },
};
</script>

<style scoped>
.bottom-elm img {
  width: 4.8649rem;
  height: 4.8649rem;
  border-radius: 0.8108rem;
}
.bottom-elm p {
  font-size: 0.4865rem;
  color: #666;
  text-align: center;
  margin-top: 0.4054rem;
  margin-bottom: 0.2703rem;
}
.bottom-elm {
  margin-top: 1.8919rem;
}
.bottom-elm button {
  width: 95%;
}
.downloadApp {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  text-align: center;
  background-color: #fff;
  z-index: 2;
}

.login-head {
  width: 100%;
  height: 1.2576rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  background-color: #0092e8;
  position: fixed;
  top: 0;
  left: 0;
}
.login-title {
  color: white;
  position: relative;
  left: -0.5405rem;
  font-size: 0.5405rem;
}
</style>